package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.DeliveryItemMapper;
import com.rongke.model.DeliveryItem;
import com.rongke.service.DeliveryItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @DeliveryItemServiceImpl
 * @配送方案子选项ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class DeliveryItemServiceImpl extends ServiceImpl<DeliveryItemMapper, DeliveryItem> implements DeliveryItemService {

    @Autowired
    private DeliveryItemMapper deliveryItemMapper;

    /**
     * @根据条件查找配送方案子选项
     * @param deliveryItem
     * @return
     */
    @Override
    public List<DeliveryItem> selectByCondition(DeliveryItem deliveryItem) {
        return deliveryItemMapper.selectByCondition(deliveryItem);
    }
}
